package cn.b.sky.mes.em.dao;

import java.util.List;

import cn.b.sky.mes.em.model.EquipmentDownTime;
import cn.b.sky.mes.em.model.ProductionResults;
import cn.b.sky.mes.em.model.condition.ProductionResultsCondition;

public interface ProductionResultsDao {

  /**
   * 
   * <strong>Title : selectProductionResultsForOee<br></strong>
   * <strong>Description : </strong>查询OEE统计结果<br> 
   * <strong>Create on : 2015-11-20 上午11:25:19<br></strong>
   * <p>
   * @param productionResultsCondition
   * @return
   * List<ProductionResults>
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br> 
   */
  List<ProductionResults> selectProductionResultsForOee(ProductionResultsCondition productionResultsCondition);

  /**
   * 
   * <strong>Title : selectProductionResultsForOeeCount<br></strong>
   * <strong>Description : </strong>查询OEE条数<br> 
   * <strong>Create on : 2015-11-20 下午03:38:42<br></strong>
   * <p>
   * @param productionResultsCondition
   * @return
   * int
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  int selectProductionResultsForOeeCount(ProductionResultsCondition productionResultsCondition);

  /**
   * 
   * <strong>Title : selectShutDownCauseForOee<br></strong>
   * <strong>Description : </strong>统计停线原因<br> 
   * <strong>Create on : 2015-11-23 下午04:53:38<br></strong>
   * <p>
   * @param productionResultsCondition
   * @return
   * List<EquipmentDownTime>
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  List<EquipmentDownTime> selectShutDownCauseForOee(ProductionResultsCondition productionResultsCondition);

  /**
   * 
   * <strong>Title : selectShutDownListForOee<br></strong>
   * <strong>Description : </strong>查询停机记录<br> 
   * <strong>Create on : 2015-11-23 下午07:05:56<br></strong>
   * <p>
   * @param productionResultsCondition
   * @return
   * List<EquipmentDownTime>
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  List<EquipmentDownTime> selectShutDownListForOee(ProductionResultsCondition productionResultsCondition);

  /**
   * 
   * <strong>Title : selectProductionResultsForTrend<br></strong>
   * <strong>Description : </strong>查询按日区分OEE结果<br> 
   * <strong>Create on : 2015-11-24 下午02:19:07<br></strong>
   * <p>
   * @param productionResultsCondition
   * @return
   * List<ProductionResults>
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  List<ProductionResults> selectProductionResultsForTrend(ProductionResultsCondition productionResultsCondition);
}
